package guoanmaker.operator.business.repository;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import guoanmaker.operator.business.model.ProvideArea;

public interface ProvideAreaRepository extends JpaRepository<ProvideArea, String>, JpaSpecificationExecutor<ProvideArea>{

	@Query("select u from ProvideArea u where u.code=:code")
    public ProvideArea findBycode(@Param("code") String code);
	
	
	
}
